package net.csdn.business.common.domain.request.pop;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 创建标签DTO
 */
@Data
public class LabelDetailVO {

    /**
     * 标签id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long labelId;

    /**
     * 社区id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long communityId;

    /**
     * 标签名称
     */
    private String labelName;

    /**
     * 排序号
     */
    private Integer sort;

    /**
     * 标签状态
     */
    private Integer labelState;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;


}
